<!DOCTYPE html>
<html lang="zh">
<head>
    <title>{{ title }}</title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=0.4">
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/my-style.css">
    <script src="/static/js/jquery-v3.6.0.min.js"></script>
    <script src="/static/layui/layui.js"></script>
    @block css
    @endblock
</head>
<body>

<!--body 部分-->
@block body
@endblock

</body>

<!-- script 脚本 -->
@block js
@endblock

<script>
    // layui 小火箭
    layui.util.fixbar({
        bgcolor:"#ccc",
        css:{right: 10, bottom: 100},
        click: function(type){}
    });
</script>

{% if session().get('watermark_switch') == '1' %}
<script src="/static/js/watermark.js"></script>
<script>
    // 删除水印
    $(".mask_div").remove();
    watermark({"watermark_txt":"{{ copyright }} " + getNow()});
</script>
{% endif %}
</html>